<script setup lang="ts">


//读取称重 重量
// window.electron.ipcRenderer.on('get-weight',(_,weight)=>{
  
 

// })


</script>

<template>

  
<router-view v-slot="{ Component }">
  <!-- ,'newcheck' -->
  <keep-alive :exclude="['transferdesc','newcheck','newtransfer']">
    <component :is="Component" />
  </keep-alive>
</router-view>
</template>
<style lang="scss">

#app{
  height: 100%;

}
.main_wrap{
  height: calc(100% - 50px);
  box-sizing: border-box;
  padding:0 10px 10px 10px;
  background-color: var(--ev-c-black);
}

/* 修改element date的默认样式 */ 
.el-date-picker { 
    width: 600px;

    .el-date-picker__time-header,
    .el-picker-panel__footer {
        display: none;
    }

    .el-date-picker__header {

        .el-picker-panel__icon-btn,
        .el-date-picker__header-label {
            font-size: 22px;
        }

        .el-date-picker__header-label {
            line-height: 41px;
        }
    }

    .el-picker-panel__content {
        width: 570px !important;

        .el-date-table td .el-date-table-cell {
            box-sizing: content-box;
            padding: 4px 0;
        }
    }
}

/* 修改dialog样式*/
.el-dialog{
  margin: 0 auto!important;
}
</style>
